import java.awt.*;
import java.awt.event.*;

public class Martin_A_Ruudustik extends Panel{
	int ridu = 10;
	int veerge = 10;
	public static final long serialVersionUID = 1;
	public void paint (Graphics g){
		int veerulaius = getWidth()/veerge;
		int reakorgus = getHeight()/ridu;
		for(int rida = 0; rida < ridu; rida++){
			g.drawLine(0, rida * reakorgus, getWidth(), rida*reakorgus);
		}
		
		for(int veerg=1; veerg < veerge; veerg++){
			g.drawLine(veerg*veerulaius, 0, veerg*veerulaius, ridu*reakorgus);
		}
	}
}